$ gdb --batch --ex "t a a bt" -pid=5383

[Thread debugging using libthread_db enabled]
[New Thread 0xb6412940 (LWP 5383)]
[New Thread 0xae3feb90 (LWP 23111)]
[New Thread 0xb58ffb90 (LWP 5502)]
[New Thread 0xb5202b90 (LWP 5501)]
[New Thread 0xb499db90 (LWP 5410)]
0xb807a430 in __kernel_vsyscall ()

Thread 5 (Thread 0xb499db90 (LWP 5410)):
#0  0xb807a430 in __kernel_vsyscall ()
#1  0xb6a38df1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7b69b17 in camel_read (fd=49, buf=0xa5fdb88 ",", n=4)
    at camel-file-utils.c:466
#3  0xb7b69cab in camel_read_socket (fd=49, buf=0xa5fdb88 ",", n=4)
    at camel-file-utils.c:600
#4  0xb49fd37d in do_read (marshal=0xa1f65e0, buf=0xa5fdb88 ",", len=4)
    at camel-stub-marshal.c:107
#5  0xb49fd4af in marshal_read (marshal=0xa1f65e0, 
    buf=0xb499d2ef "�\030\230\037\n�e\037\n\030�\231�}�\237��q��\2200\a��q���\017��i�\237��\017��X�\231�_�\237��e\037\nH�\231�\v", len=1)
    at camel-stub-marshal.c:134
#6  0xb49fd559 in decode_uint32 (marshal=0xa1f65e0, dest=0xb499d348)
    at camel-stub-marshal.c:169
#7  0xb49fd67d in camel_stub_marshal_decode_uint32 (marshal=0xa1f65e0, 
    dest=0xb499d348) at camel-stub-marshal.c:282
#8  0xb49fe75f in status_main (data=0xa1f9818) at camel-stub.c:134
#9  0xb79d550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb6a40a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb5202b90 (LWP 5501)):
#0  0xb807a430 in __kernel_vsyscall ()
#1  0xb6a36167 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb6afac52 in g_main_context_iterate (context=0xa669b28, block=1, 
    dispatch=1, self=0xa669b00)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:3091
#3  0xb6afb2e2 in IA__g_main_loop_run (loop=0xa674940)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
#4  0xb7bcc622 in startup_mainloop (arg=0x0) at e-book.c:3745
#5  0xb6b2204f in g_thread_create_proxy (data=0xa669b00)
    at /build/buildd/glib2.0-2.18.2/glib/gthread.c:635
#6  0xb79d550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb6a40a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb58ffb90 (LWP 5502)):
#0  0xb807a430 in __kernel_vsyscall ()
#1  0xb6a36167 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb6afac52 in g_main_context_iterate (context=0xa63f980, block=1, 
    dispatch=1, self=0x9fbbc68)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:3091
#3  0xb6afb2e2 in IA__g_main_loop_run (loop=0xa641730)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
#4  0xb75a18b0 in ?? () from /usr/lib/libORBit-2.so.0
#5  0xb6b2204f in g_thread_create_proxy (data=0x9fbbc68)
    at /build/buildd/glib2.0-2.18.2/glib/gthread.c:635
#6  0xb79d550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb6a40a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xae3feb90 (LWP 23111)):
#0  0xb807a430 in __kernel_vsyscall ()
#1  0xb79d9075 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7900c73 in e_flag_wait (flag=0xa9969a0) at e-flag.c:120
#3  0xb7bd0bfe in do_get_contacts (sync=1, book=0xa94cc00, query=0xacc3058, 
    contacts=0xae3fe180, error=0xae3fe184, cb=0, closure=0x0) at e-book.c:2093
#4  0xb7bd0ed4 in e_book_get_contacts (book=0xa94cc00, query=0xacc3058, 
    contacts=0xae3fe180, error=0xae3fe184) at e-book.c:2131
#5  0xb5e52235 in em_utils_contact_photo (cia=0xa629390, local=0)
    at em-utils.c:2266
#6  0xb5e38409 in efh_format_message (emf=0xa10df30, stream=0xa93a2b0, 
    part=0xa1f7180, info=0xb5ea3870) at em-format-html.c:2003
#7  0xb5e3683e in efh_format_exec (m=0xb53a5960) at em-format-html.c:1269
#8  0xb5e633b9 in mail_msg_proxy (msg=0xb53a5960) at mail-mt.c:520
#9  0xb6b236e6 in g_thread_pool_thread_proxy (data=0xa124ed0)
    at /build/buildd/glib2.0-2.18.2/glib/gthreadpool.c:265
#10 0xb6b2204f in g_thread_create_proxy (data=0xb53d0368)
    at /build/buildd/glib2.0-2.18.2/glib/gthread.c:635
#11 0xb79d550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb6a40a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb6412940 (LWP 5383)):
#0  0xb807a430 in __kernel_vsyscall ()
#1  0xb6a36167 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb6afac52 in g_main_context_iterate (context=0x9f8c368, block=1, 
    dispatch=1, self=0x9f60538)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:3091
#3  0xb6afb2e2 in IA__g_main_loop_run (loop=0x9fe9e78)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
#4  0xb75efcf3 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#5  0x0805cce3 in main (argc=2, argv=0xbf97bc14) at main.c:690
#0  0xb807a430 in __kernel_vsyscall ()

